Meta-level Language Bridging

نویسندگان

  • Nathanael Schaerli
  • Franz Achermann
  • Oscar Nierstrasz
چکیده

Scripting and composition languages offer high-level mechanisms to combine and compose services provided by a lower-level host programming language. Inter-language bridging mechanisms are therefore needed to map host language entities and services to abstractions of the scripting language, and vice versa. Many popular languages such as Python, Perl, and Ruby use a bridging approach based on wrappers that must be written or generated in the host language. Other languages like Jython and Kawa adopt a fixed bridging strategy that exploits reflective features provided by the host language. Although both of these approaches are usable, they are cumbersome and low-level. In particular, it can be very difficult to adapt host language services to cooperate seamlessly with abstractions of the scripting language. In this paper we present a lightweight bridging strategy for scripting and composition languages that simplifies the task of adapting host language services to the abstraction level of the scripting language. This strategy uses introspection facilities of the host language to automate the wrapping process, while providing a hook for programmer-defined adaptation of the generated interface. A meta-level bridging layer is responsible for wrapping and unwrapping both host and scripting language entities so they can seamlessly cooperate. The bridging strategy employs partial evaluation of wrapping and unwrapping operations to achieve acceptable performance.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Supporting Pure Composition by Inter-language Bridging on the Meta-level

Inter-language bridging is an important issue of scripting language design and implementation. Most of the popular languages such as Python, Perl, Tcl, and Ruby use a bridging approach based on wrappers that are written in the external language (usually C/C++) and serve as a glue layer between the languages. This allows a wide flexibility in defining the glue abstractions, but it requires the u...

متن کامل

Information systems and educational engineering: Bridging two concepts through meta modelling

In this article we present our work on the specification of a learning environment allowing a teacher to implement co-operative learning situations (CLS) based on the notion of situational problems. To this end, we approach the specifications of our environment based on a meta model that we define to support CLS.

متن کامل

On the effectiveness of integrated skills approach in language teaching: a meta-analysis

This meta-analysis was conducted to synthesize the effect of 22 primary studies which have been conducted to test the effect of the integrated skills approach (ISA) on language skills and components. Three questions guide this analyses: What is the overall effect of ISA  on language skills and sub-skills? To what extent moderator variables such as learners level of education and proficiency mod...

متن کامل

Meta-tools for Software Language Engineering: A Flexible Collaborative Modeling Language for Efficient Telecommunications Service Design

The increasingly competitive environment pressures telecommunications service providers to reduce their concept-tomarket time. This time is influenced by a multitude of factors. For the benefit of telecom service designers, this paper focuses on increasing the degree of automation, offering team collaboration capabilities and bridging heterogeneous technologies. To address these factors, we pro...

متن کامل

Establishing a Bridge from Graph-based Modeling Languages to Ontology Languages

In today’s software industry, the pursuit of Model-Driven Development has become a serious option. Depending on their purpose, models can be represented in different languages with different strengths and weaknesses. Recently, ontologies with the predominant Web Ontology Language OWL are more and more recognized as being able to adequately complement modelware, i.e. the more traditional modelin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995